﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyVoteMVC.Domain;

namespace MyVoteMVC.BackstageManagement.Controllers
{
    public interface IProjectManagementController
    {
        void GetProjects();

        void GetProjectsByType(string type);

        void GetProjects(string type,string year,string keyword);

        void GetProjectsByYear(string year);

        void GetProjectTypes();

        void GetProjectsYear();

        void CreateProject(string projectYear, string projectAddress, string projectName, string projectType,string projectAwards,string projectDescription, byte[] projectImage);

        //编辑
        void EditProject(string projectID, string projectYear, string projectAddress, string projectName, string projectType, string projectAwards, string projectDescription, byte[] projectImage);

        //删除
        void DeleteProject(string projectID);

        void DeleteProject(List<VT_Projects> projects);

        void GetProject(string projectID);
        
        
    }
}
